#ifndef CERT_CHAIN_H
#define CERT_CHAIN_H

#include <stddef.h>

typedef struct
{
    unsigned char issuer[64];
    unsigned char public_key[65];
    unsigned char signature[64];
} SM2_CERT;

// 简化的证书链验证函数
int verify_sm2_certificate_chain(SM2_CERT *certs, size_t count);

#endif